Skip to content

Instantly share code, notes, and snippets.

@Obzl
Obzl / gist:6da5a8ffa090393d5b383f0827a0e4d7
Created December 29, 2022 03:32
Free Windows Server Key
Windows Server 2022 Standard key:
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
CGGN9-DG8BW-PMBB4-Y79Y9-Y7X7B
PGQ8Y-WHN93-WY67T-FJXP7-QPHHB
Windows Server 2022 Datacenter Key
N7MMC-VGFH4-GVRDT-K9Q44-X2HJH
MNF6T-BTCTK-Q4HPP-KP2WG-VCHJH
@githubfoam
githubfoam / nmap cheat sheet
Last active January 28, 2026 01:02
nmap cheat sheet
----------------------------------------------------------------------------------------------------
#detect rogue dhcp server
nmap -sU -p67,68 --script dhcp-discover <network_range>
sudo nmap --script broadcast-dhcp-discover
sudo nmap --script broadcast-dhcp-discover -e eth0
----------------------------------------------------------------------------------------------------
Wireshark Output for nmap IP Fragment Scan (Sample):
Filter: ip.flags.mf == 1
No. Time Source Destination Protocol Length Info
@Brayden
Brayden / drive.sh
Created January 27, 2026 15:15
Mounted R2 Drive
#!/usr/bin/env bash
set -euo pipefail
bold() { printf "\033[1m%s\033[0m\n" "$*"; }
info() { printf "• %s\n" "$*"; }
warn() { printf "\033[33m! %s\033[0m\n" "$*"; }
err() { printf "\033[31m✗ %s\033[0m\n" "$*" >&2; }
ok() { printf "\033[32m✓ %s\033[0m\n" "$*"; }
require_macos() {
@willnet
willnet / rails8_1_new_features.md
Last active January 28, 2026 00:57
Rails8.1のマイナーフィーチャーで気になったもの

これはなに

  • 2025/10/22にRails8.1がリリースされましたね
  • Ruby on Rails 8.1 Release Notes — Ruby on Rails Guidesにリリースノートが書かれている
  • 上記メジャーフィーチャーに含まれなかったマイナーフィーチャーのうち、気になったものをざっくりまとめています
  • 間違いの指摘や、これも追加してくれ〜という物があればコメントお願いします
@merikan
merikan / Jenkinsfile
Last active January 28, 2026 00:57
Some Jenkinsfile examples
Some Jenkinsfile examples
@davidvfx07
davidvfx07 / atomic-asahi-guide.sh
Last active January 28, 2026 00:55
Asahi Linux - OSTree Install Guide
# PLEASE READ ALL OF THE COMMENTS THROUGHOUT THIS COMMAND GUIDE. THANKS!
# This is a command guide to install OSTree / Bootc on Asahi Fedora.
# Compiled with inspiration from:
# - https://github.com/fedora-asahi-remix-atomic-desktops/images/issues/1
# - https://github.com/bshephar/fedora-bootc/tree/main/asahi
# Please reset Asahi from scratch as lingering standard install things will bloat. By the
# same logic, install Asahi Minimal when you do reset, as to not bloat your install with
@willnet
willnet / rails8_0_new_features.md
Last active January 28, 2026 00:55
Rails8.0のマイナーフィーチャーで気になったところ

これはなに

Railties

scriptディレクトリが復活した

@Huijiro
Huijiro / hytale-item-schema.json
Created January 16, 2026 05:10
hytale-item-schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Hytale Item Configuration Schema - Fully Documented",
"description": "Complete JSON Schema for Hytale Item asset configuration with comprehensive documentation including full Java package references, field mappings, and enumeration details. All properties are documented with line numbers and source code references.",
"type": "object",
"required": ["Id"],
"additionalProperties": false,
"properties": {
"Id": {
"type": "string",
@ky28059
ky28059 / vercel.md
Last active January 28, 2026 00:45
Deploying to Vercel from an organization for free using GitHub actions

This gist was partially inspired by this blog about Next.js Vercel CI with GitHub actions.

The problem

An easy way to deploy and host websites for free is to use GitHub pages. If you've deployed a Next.js project to GitHub pages, you may have used a GitHub action similar to this in the past to automatically redeploy the site when a new commit is pushed:

# gh-pages-merge.yml
name: Deploy to gh-pages on merge
on:
  push:
Terminal
Build Task
code tunnel -help